#include<stdio.h>
int main()
{int i;
    int a[5]={8,6,5,4,1};
for (i=0;i<5;i++)
printf ("%d\n",a[4-i]);
return 0;
}